how to calculate standard deviation of continuous frequency distribution